<template>
  <ItSpace>
    <ItButton @click="showDialog1">对话框（确定、取消）</ItButton>
    <ItButton @click="showDialog2"> 对话框（确定）</ItButton>
  </ItSpace>
</template>
<script setup>
import { ItSpace, ItButton, DialogModel } from '@/components'

const showDialog1 = () => {
  DialogModel({
    title: '撤销申请',
    message: '撤销审核后，如需再次注册请重新提交申请。',
    confirm: () => {},
  })
}
const showDialog2 = () => {
  DialogModel({
    message: '数据正在完善中',
    cancelable: false,
  })
}
</script>
<style scoped>
.type-echart {
  margin: 0 auto;
  width: 628px;
  height: 373px;
}
</style>
